package org.openzip.openzip.gui.util.event;

import javax.swing.tree.TreePath;

public class TreeCheckSelectionEvent
{
	private TreePath path;
	private Object source;
	private int oldState;
	private int state;
	
	public TreeCheckSelectionEvent(TreePath path, Object source, int oldState,
				int state){
		super();
		this.path = path;
		this.source = source;
		this.oldState = oldState;
		this.state = state;
	}

	public TreePath getPath(){
		return path;
	}
	
	public Object getSource(){
		return source;
	}
	
	public int getOldState(){
		return oldState;
	}
	
	public int getState(){
		return state;
	}
}
